<? include_once("../../../common/common_setting_unit.php"); //引入通用的设置文件?>
<? include_once("../controller/detail-edit.php");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <?php include ROOT_PATH_.'/controller/common/module/head.php'; ?>
<link href="../asset/css/style.css" rel="stylesheet" type="text/css"/>
<link href="/controller/common/asset/css/effect/shrink.css" rel="stylesheet" type="text/css"/>

</head>

<body class="case">

<div id="topbar">   <?php include ROOT_PATH_.'/controller/common/module/topbar.php'; ?></div>

<div id="container" class="<? echo $system_part ?>">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_.'/controller/common/module/sidebar.php'; ?>
        </div>


<div id="content" class="layui-form">
<h1> 项目资料 </h1>

    <div class="shrinker" >
       可以发布
    </div>





<div class="detail-box member-edit-box layui-form">

<div class="detail-boxes">
<ul class="detail-boxing"> 



<form id="edit-member-form" method="post" action="detail-edit-function.php?nav-itemed=case&nowpageid=<?echo $_GET["nowpageid"]?>" enctype="multipart/form-data" class="layui-form">
 
  
 <input type="hidden" name="nid" value="<? echo $detail['nid']?>">





    <fieldset class="layui-elem-field layui-field-title">
        <legend> <i class="fa fa-tasks"></i> 基本信息 </legend>
    </fieldset>


  <div class="layui-form-item">
    <label class="layui-form-label">名称</label>
    <div class="layui-input-block">
      <input type="text" name="ai_name" required  lay-verify="required" placeholder="请输入项目名称" autocomplete="off" class="layui-input" value="<? echo $detail['name']?>">
    </div>
  </div>




<br/>





    <fieldset class="layui-elem-field layui-field-title">
        <legend> <i class="fa fa-tasks"></i> 时间节点 </legend>
    </fieldset>



<div class="dates">

    <div class="layui-form-item">
        <label class="layui-form-label">开始日期</label>
        <div class="layui-input-block">
            <input type="text" name="ai_startdate" id="date" autocomplete="off" class="layui-input"  value="<?echo $detail['startdate']?>" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="laydate-icon">
            <div class="item-tips">记录项目开始时间</div>
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label">截至日期</label>
        <div class="layui-input-block">
            <input type="text" name="ai_enddate" id="date" autocomplete="off" class="layui-input"  value="<?echo $detail['enddate']?>" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="laydate-icon">
            <div class="item-tips">以客户验收通过日期为准</div>
        </div>
    </div>





</div>






    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block" >
            <input type="radio" name="ai_status" value="发布" title="发布" checked>

            <input type="radio" name="ai_status" value="隐藏" title="隐藏" <? if ($detail['status'] == "隐藏") {
                echo "checked";
            } ?>>

        </div>

    </div>




    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <textarea name="ai_remark" placeholder="备注" class="layui-textarea"><? echo $detail['remark']?></textarea>
        </div>
    </div>













<br class="clearfloat"/>

  <div class="function">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formMemberAdd" type="submit">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>


</form>


    <input name="navitemed" type="hidden" value="<? echo $_REQUEST['nav-itemed'] ?>"/>
    <input name="sys_part"  type="hidden" value="<? echo $system_part ?>"/>
    <input name="nowpageid" type="hidden" value="<? echo $_REQUEST['nowpageid'] ?>"/>
    <input name="sortby"    type="hidden" value="<? echo $_REQUEST['sortby'] ?>"/>
    <input name="term_nid"  type="hidden" value="<? echo $_REQUEST['term_nid'] ?>"/>


 
</form>



</ul>
</div>
</div>

<!--content端點01-->
</div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>


<?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?>
</body>
</html>
